📁 doublestar — расширенная поддержка glob-паттернов в Go
Альтернатива стандартному path/filepath.Glob в Go, с поддержкой:
• ** — рекурсивных поддиректорий • Расширенных классов символов ([[:alpha:]], [[:digit:]]) • Исключающих шаблонов (!(pattern), @(pattern), ?(pattern)) • Более гибких масок в стиле Bash/Zsh
go get github.com/bmatcuk/doublestar/v4
🔧 Использование:
matches, err := doublestar.Glob("**/*.go")
📦 Подходит для написания CLI-инструментов, сборщиков, тулов для анализа кода и всего, где важна гибкость файловых шаблонов.
👉 Если filepath.Glob не хватает — doublestar легко заменяет его, не ломая привычный интерфейс.
📁 doublestar — расширенная поддержка glob-паттернов в Go
Альтернатива стандартному path/filepath.Glob в Go, с поддержкой:
• ** — рекурсивных поддиректорий • Расширенных классов символов ([[:alpha:]], [[:digit:]]) • Исключающих шаблонов (!(pattern), @(pattern), ?(pattern)) • Более гибких масок в стиле Bash/Zsh
go get github.com/bmatcuk/doublestar/v4
🔧 Использование:
matches, err := doublestar.Glob("**/*.go")
📦 Подходит для написания CLI-инструментов, сборщиков, тулов для анализа кода и всего, где важна гибкость файловых шаблонов.
👉 Если filepath.Glob не хватает — doublestar легко заменяет его, не ломая привычный интерфейс.
Tata Power whose core business is to generate, transmit and distribute electricity has made no money to investors in the last one decade. That is a big blunder considering it is one of the largest power generation companies in the country. One of the reasons is the company's huge debt levels which stood at ₹43,559 crore at the end of March 2021 compared to the company’s market capitalisation of ₹44,447 crore.
The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.